package com.sz.mes.vo;

import com.diboot.core.binding.annotation.*;
import com.sz.mes.entity.Output;
import com.diboot.iam.entity.IamUser;
import com.sz.mes.entity.Tech;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.List;

/**
* 产出 ListVO定义
* @author hem
* @version 1.0
* @date 2024-01-15
 * Copyright © szhs
*/
@Getter @Setter @Accessors(chain = true)
public class OutputListVO extends Output  {
    private static final long serialVersionUID = 4014263233614344801L;

    /** 
    * 关联字段 系统用户.真实姓名：IamUser.realname
    */
    @BindField(entity = IamUser.class, field = "realname", condition = "this.create_by=id")
    private String createByName;

    /** 
    * 关联字段 工艺信息查询.工艺名称：Tech.techName
    */
    @BindField(entity = Tech.class, field = "techName", condition = "this.tech_id=id")
    private String techTechName;

}